/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package object;

/**
 *
 * @author dheath
 */
public class Color 
{
    private float red;
    private float green;
    private float blue;
    
    public Color(int r, int g, int b)
    {
        red = ((float)r/255);
        green = ((float)g/255);
        blue = ((float)b/255);
    }
    public Color(float r, float g, float b)
    {
        red = r;
        green = g;
        blue = b;
    }

    public float getRed()
    {
        return red;
    }

    public void setRed(float red)
    {
        this.red = red;
    }

    public float getGreen()
    {
        return green;
    }

    public void setGreen(float green)
    {
        this.green = green;
    }

    public float getBlue()
    {
        return blue;
    }

    public void setBlue(float blue)
    {
        this.blue = blue;
    }

}
